﻿<%@ Page Language="C#" MasterPageFile="~/PH_KH/PH_KH.master" AutoEventWireup="true" CodeFile="giohang.aspx.cs" Inherits="PH_KH_giohang" Title="Untitled Page" %>

<%@ Register Assembly="ASPnetPagerV2_8" Namespace="ASPnetControls" TagPrefix="cc2" %>

<%@ Register Assembly="HighslideImage" Namespace="Encosia" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="chitiet_sp_gh">
        <asp:Repeater ID="rep_Cart" runat="server" OnItemDataBound="rep_Cart_ItemDataBound">
            <HeaderTemplate>
                <table border="1px" width="100%">
                    <tr>
                        
                        <td>
                            Tên sản phẩm</td>
                        <td>
                            Giá</td>
                        <td>
                            Số lượng đã mua</td>
                        <td>
                            Số lượng muốn thay đổi</td>
                        <td>
                            Tổng tiền</td>
                        <td colspan="2">Cập nhật
                        </td>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    
                    <td>
                        <asp:HyperLink ID="hp_tensp" CssClass="tensptronggiohang" runat="server"></asp:HyperLink>
                    </td>
                    <td>
                        <asp:Literal ID="ltr_gia" runat="server"></asp:Literal>
                    </td>
                    <td>
                        <%#Eval("Quantity") %>
                    </td>
                    <td>
                        <asp:TextBox ID="tb_soluong" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        <asp:Literal ID="lit_ThanhTien" runat="server"></asp:Literal>
                        VNĐ</td>
                    <td>
                        <asp:Button ID="btcapnhat" runat="server" Text="Cập nhật" OnClick="btcapnhat_Click" />
                    </td>
                    <td>
                        <asp:Button ID="bt_xoa" runat="server" Text="Xóa" OnClick="bt_xoa_Click" />
                    </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </table>
            </FooterTemplate>
        </asp:Repeater>
    </div>
    
    <div class="total">
        <table>
            <tr>
                <td class="togtien_gh">
                    <span class="chu_total">TOTAL:</span></td>
                <td>
                    <asp:Literal ID="lit_TongTien" runat="server"></asp:Literal>
                    VNĐ</td>
            </tr>
        </table>
    </div>
    <div class="foot_gh">
        <asp:HyperLink ID="hp_tieptuc" runat="server" NavigateUrl="~/PH_KH/home_phkh.aspx">Tiếp tục</asp:HyperLink>
        <asp:HyperLink ID="hp_dathang" runat="server" NavigateUrl="~/PH_KH/dat_hang.aspx">Đặt hàng</asp:HyperLink>
    </div>
</asp:Content>

